#include "code1D.h"

void code1D_init(Code1D* code)
{
    code->array = NULL;
    code->size = 0;
}

int code1D_charSize(Code1D* code)
{
    return (code->size % 8 == 0) ? code->size/8 : code->size/8 +1;
}
